#include "mindfirst.h"
#include <QtWidgets/QApplication>
#include "mainwindow.h"
#include "factor.h"
#include <QTextCodec>

int main(int argc, char *argv[])
{
	QApplication a(argc, argv);

	//QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
	QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));

	//MindFirst w;
	//w.show();

	gFactor = new Factor();
	gFactor->create();
	gFactor->init();

	MainWindow * window = new MainWindow;
	window->show();

	return a.exec();
}
